package com.b.repository;

import com.b.domain.Admin;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminRepository extends ElasticsearchRepository<Admin, Integer> {
    Admin findByUsername(String username);
}